<!--有券商品推荐-->

<a class="goods-item is_coupon" href="<%= coupon_share_url %> " target="_blank" rel="noopener noreferrer"
   title="<%= [shop_title, title].join('的') %>">
    <div class="good-img">
        <img src="<%= pict_url %> " alt="<%= short_title %> ">
    </div>
    <div class="good-info">
        <div class="title">
            <%= title %>
        </div>
        <div class="price">
            <span>￥<%= (zk_final_price - coupon_amount).toFixed(2) %> </span>
            <del style="color: #aaaaaa;font-size: 10px">原价 <%= (zk_final_price * 1.2).toFixed(2) %></del>
        </div>

        <div class="tags">
            <div class="tag">
                <%= shop_title %>
            </div>
            <div class="tag">

                评分:<%= (shop_dsr / 10000).toFixed(1) %>
            </div>

            <% if (coupon_info){ %>
                <div class="tag">
                    <%= coupon_info %>
                </div>
            <% } %>

            <!--            是否带券-->
            <% if (coupon_amount && coupon_amount * 1 > 0){ %>
                <div class="tag">有券</div>
            <% } %>
            <!--            商品优点-->
            <% if (category_name){ %>
                <div class="tag">
                    <%= category_name %>
                </div>
            <% } %>

            <% if(item_description){ %>
            <% item_description = item_description.replaceAll('|', ' ') %>
            <% item_description.split(' ').forEach((item)=>{ %>
                <% if (item.length > 0){ %>
                    <div class="tag"><%= item %></div>
                <% } %>
            <% }) %>

            <% } %>
        </div>
    </div>
</a>
